package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】业务对象 tension_process
 *
 * @author zyb
 * @date 2023-09-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TensionProcessBo extends BaseEntity {

    /**
     * id
     */
    @NotBlank(message = "id不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 记录编号
     */
    @NotBlank(message = "记录编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String code;

    /**
     * 设备编号
     */
    @NotBlank(message = "设备编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String equipmentNumber;

    /**
     * 孔号
     */
    @NotBlank(message = "孔号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String holeNumber;

    /**
     * 记录时间
     */
    @NotNull(message = "记录时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date recordTime;

    /**
     * 张拉此时
     */
    @NotNull(message = "张拉此时不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date tensionTime;

    /**
     * 状态1
     */
    @NotBlank(message = "状态1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status1;

    /**
     * 张拉力1（千牛顿）
     */
    @NotNull(message = "张拉力1（千牛顿）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long tensionForce1;

    /**
     * 油压1（兆帕）
     */
    @NotNull(message = "油压1（兆帕）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long oilPressure1;

    /**
     * 顶行程1（毫米）
     */
    @NotNull(message = "顶行程1（毫米）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long topStroke1;

    /**
     * 伸长量1（毫米）
     */
    @NotNull(message = "伸长量1（毫米）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long elongation1;

    /**
     * 状态2
     */
    @NotBlank(message = "状态2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status2;

    /**
     * 张拉力2（千牛顿）
     */
    @NotNull(message = "张拉力2（千牛顿）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long tensionForce2;

    /**
     * 油压2（兆帕）
     */
    @NotNull(message = "油压2（兆帕）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long oilPressure2;

    /**
     * 顶行程2（毫米）
     */
    @NotNull(message = "顶行程2（毫米）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long topStroke2;

    /**
     * 伸长量2（毫米）
     */
    @NotNull(message = "伸长量2（毫米）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long elongation2;

    /**
     * 伸长量总和（毫米）
     */
    @NotNull(message = "伸长量总和（毫米）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long totalElongation;

    /**
     * 设计伸长量（毫米）
     */
    @NotNull(message = "设计伸长量（毫米）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long designElongation;


}
